class Service < ActiveRecord::Base
  has_many :building_services
  has_many :buildings, :through => :building_services

  has_many :academic_space_services
  has_many :academic_spaces, :through => :academic_space_services

  validates_presence_of :name, :abbreviation, :info
  validates_uniqueness_of :name, :abbreviation
end
